<html>
<head><meta charset="utf-8"><title>VSCode plugin and debugging · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VSCode.20plugin.20and.20debugging.html">VSCode plugin and debugging</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="181281091"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VSCode%20plugin%20and%20debugging/near/181281091" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Lew <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VSCode.20plugin.20and.20debugging.html#181281091">(Nov 21 2019 at 07:06)</a>:</h4>
<p>Maybe it's a bit too much to ask here, but i really really wish that the VSCode Rust plugin could integrate with debugging support, and provide a smoother out of box experience.</p>



<a name="181282465"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VSCode%20plugin%20and%20debugging/near/181282465" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VSCode.20plugin.20and.20debugging.html#181282465">(Nov 21 2019 at 07:40)</a>:</h4>
<p><span class="user-mention" data-user-id="116458">@Charles Lew</span> IIRC, debugging is handled entrely by <a href="https://github.com/vadimcn/vscode-lldb" target="_blank" title="https://github.com/vadimcn/vscode-lldb">https://github.com/vadimcn/vscode-lldb</a>. There are certainly some things that debugger and rust-analyzer could share in theory, but I am not sure if that is practical (ie, that required APIs exist can or can be added easily)</p>



<a name="181285895"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VSCode%20plugin%20and%20debugging/near/181285895" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VSCode.20plugin.20and.20debugging.html#181285895">(Nov 21 2019 at 08:52)</a>:</h4>
<p>One thing that would be nice is if RA could configure the build and run tasks in <code>tasks.json</code></p>



<a name="181286329"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VSCode%20plugin%20and%20debugging/near/181286329" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VSCode.20plugin.20and.20debugging.html#181286329">(Nov 21 2019 at 09:00)</a>:</h4>
<p>There's also the "Rust Analyzer: Run" command, but it feels less integrated and acts a bit strangely: it doesn't seem to show "run binary" after loading a binary project, but I can still click "Run" above <code>fn main</code> and it will show up afterwards.</p>



<a name="181286447"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/VSCode%20plugin%20and%20debugging/near/181286447" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/VSCode.20plugin.20and.20debugging.html#181286447">(Nov 21 2019 at 09:02)</a>:</h4>
<p>And that "Run" sometimes disappears.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>